//
//  main.m
//  Count_1
//
//  Created by quentin on 15/8/19.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import <Foundation/Foundation.h>

//int main(int argc, const char * argv[]) {
//
//    NSLog(@" The Number from 1 to 5:");
//    for (int i = 1; i <=5; i++) {
//        NSLog(@"%d\n",i);
//    }
//    
//    return 0;
//}

//int main(int argc,const char* argv[]){
//    
//    int count = 15;
//    NSLog(@"The Number from 1 to %d:",count);
//    
//    for (int i = 1; i <=count; i++) {
//        NSLog(@"%d\n",i);
//    }
//    
//    return 0;
//}

//int main(int argc,const char* argv[]){
//    const char* words[4] = {
//        "aardvark",
//        "abacus",
//        "allude",
//        "zygote",
//    };
//    
//    int wordCount = 4;
//    for (int i = 0; i < wordCount; i++) {
//        NSLog(@"%s is %lu characters long",words[i],strlen(words[i]));
//    }
//    return 0;
//}

int main(int argc,const char* argv[]) {
    
    const char* words[4] = {
        "Joe-Bob \"Handyman\" Brown",
        "Jacksonville \"Sly\" Murphy",
        "Shinara Bain",
        "George \"Guitar\" Books"
    };
    int wordCount = 4;
    for (int i = 0;i < wordCount; i++){
        NSLog(@"%s is %lu characters long",words[i],strlen(words[i]));
    }
        
    return 0;
}

